package com.jinxin.platform.cdelecinspect.service.impl;

import com.jinxin.platform.cdelecinspect.mapper.EleinspectItemRecordMapper;
import com.jinxin.platform.cdelecinspect.mapper.pojo.EleinspectItemRecord;
import com.jinxin.platform.cdelecinspect.service.EleinspectItemsRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
@Service
public class EleinspectItemsRecordServiceImpl implements EleinspectItemsRecordService {
    @Autowired
    EleinspectItemRecordMapper eleinspectItemRecordMapper;

    @Override
    public List<EleinspectItemRecord> listPage(HashMap param) {
        return eleinspectItemRecordMapper.listPage(param);
    }

    @Override
    public int listPageCount(HashMap param) {
        return eleinspectItemRecordMapper.listPageCount(param);
    }

    @Override
    public EleinspectItemRecord selectOne(HashMap param) {
        return eleinspectItemRecordMapper.selectOne(param);
    }

    @Override
    public List<EleinspectItemRecord> list(HashMap param) {
        return eleinspectItemRecordMapper.list(param);
    }

    @Override
    public int updateByKey(EleinspectItemRecord eleinspectItemRecord) {
        return eleinspectItemRecordMapper.updateByKey(eleinspectItemRecord);
    }

    @Override
    public EleinspectItemRecord selectByKey(String itemRecordId) {
        return eleinspectItemRecordMapper.selectByKey(itemRecordId);
    }
}
